package com.sellspringcloud.server.enums;

import lombok.Getter;

/**
 * @author
 * @create 2019-08-10 17:50
 **/
@Getter
public enum UserEnum {
    USER_NOT_EXIT(1,"用户不存在"),
    USER_ROLE_ERORR(2,"角色错误");

    private int code;

    private String msg;

    UserEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}